package org.lc.cmd;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

public interface CommandRegistry {
    void registerCommands(List<Command> commands);

    @SuppressWarnings("unused")
    default void registerCommands(Command... commands) {
        registerCommands(Arrays.asList(commands));
    }

    Map<String, Command> getCommands();
}
